package com.zmc.shard.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class CashOrder implements Serializable {

    @TableId(value = "id")
    private Long id;

    @TableField(value = "apply_id")
    private String applyId;

    @TableField(value = "name")
    private String name;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "num")
    private String num;

    @TableField(value = "apply_status")
    private String applyStatus;

    @TableField(value = "apply_status_message")
    private String applyStatusMessage;

    @TableField(value = "is_delete")
    @TableLogic
    private String isDelete;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "create_by")
    private String createBy;

    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

    @TableField(value = "update_by")
    private String updateBy;
}
